Einhugur macOS Bridge plugin.

NSArray.FromIntegerPtr Method

Constructs NSArray object from Integer handle coming from declares or 3rd party plugin.

shared FromIntegerPtr(
   arrayIntPtr as Integer) as EinhugurCoreBridge.NSArray

Parameters

arrayIntPtr
Integer handle coming from declare or 3rd party plugin that points to live NSImage object.

Returns

EinhugurCoreBridge.NSArray

Remarks

Do not pass integer in here that is not actually NSArray handle, doing so would generate crash.

The NSArray class will handle retaining the object once and releasing once the object once the NSArray class is no longer used.

See Also

NSArray Class